import type {AddressItemType} from "@/types/user"

export class AddressItemCls implements AddressItemType {
    id: number
    uid: number
    addressee: string // 收件人
    phone: string // 联系方式
    country: string
    province: string
    city: string
    area: string
    detail: string
    label: string // 所属标签

    constructor(id: number, uid: number, addressee: string,phone: string,country: string,province: string,city: string,area: string,detail: string,label: string) {
        this.id = id
        this.uid = uid
        this.addressee = addressee
        this.phone = phone
        this.country = country
        this.province = province
        this.city = city
        this.area = area
        this.detail = detail
        this.label = label
    }
}